package com.involveinnovation.chatserver.controller.Model;

import lombok.*;

/**
 * @author 15128
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Message2 {
    private String toUserId;
    private String fromUserId;
    private String contentText;
    private String date;
    private Status status;
    private String type;
    private String roomNum;

    @Override
    public String toString() {
        String msg = "{\"toUserId\": \"" + toUserId + "\",\"type\": \"" + type + "\",\"contentText\":\"" + contentText + "\",\"roomNum\":\"" + roomNum + "\", \"fromUserId\": \"" + fromUserId + "\"}";
        return msg;
    }
}
